package com.wangzhixuan.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 用户角色
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-06-24
 */
public class Production extends Model<Production> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 用户id
     */
	@TableField("man_name")
	private String manName;
	@TableField("man_num")
	private Integer manNum;
	@TableField("man_price")
	private Float manPrice;
	@TableField("man_describe")
	private String manDescribe;
	
	/**
	 * 封面
	 */
	@TableField("man_cover")
	private String manCover;
	
    /**
     * 性别
     */
	@TableField("man_type1")
	private String manType1;
    /**
     * 性别
     */
	@TableField("man_type2")
	private String manType2;
    /**
     * 性别
     */
	@TableField("man_type3")
	private String manType3;
    /**
     * 获奖情况
     */
	@TableField("man_win")
	private String manWin;
	@TableField("carftsman_id")
	private Long carftsmanId;
	//品牌名称
	@TableField(exist = false)
	private String manBrand;
	/**
	 * 品牌唯一标识
	 */
	@TableField("man_key")
	private String manKey;
	/**
	 * 产品唯一标识
	 */
	@TableField("man_product_key")
	private String manProductKey;
	//标签ID
	@TableField(exist = false)
	private Integer tagId;
	/**
	 * 标签名称
	 */
	@TableField(exist = false)
	private String tagnames;
	/**
	 * 是否入围
	 */
	@TableField(exist = false)
	private Integer selected;
	/**
	 * 标签名称
	 */
	@TableField("man_productlink")
	private String manProductlink;
	
	
	public Integer getSelected() {
		return selected;
	}

	public void setSelected(Integer selected) {
		this.selected = selected;
	}

	public String getManProductlink() {
		return manProductlink;
	}

	public void setManProductlink(String manProductlink) {
		this.manProductlink = manProductlink;
	}

	public String getTagnames() {
		return tagnames;
	}

	public void setTagnames(String tagnames) {
		this.tagnames = tagnames;
	}

	public String getManBrand() {
		return manBrand;
	}

	public void setManBrand(String manBrand) {
		this.manBrand = manBrand;
	}

	public Integer getTagId() {
		return tagId;
	}

	public void setTagId(Integer tagId) {
		this.tagId = tagId;
	}

	public String getManProductKey() {
		return manProductKey;
	}

	public void setManProductKey(String manProductKey) {
		this.manProductKey = manProductKey;
	}
	
	public String getManKey() {
		return manKey;
	}

	public void setManKey(String manKey) {
		this.manKey = manKey;
	}

	public String getManCover() {
		return manCover;
	}

	public void setManCover(String manCover) {
		this.manCover = manCover;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getManName() {
		return manName;
	}

	public void setManName(String manName) {
		this.manName = manName;
	}

	public Integer getManNum() {
		return manNum;
	}

	public void setManNum(Integer manNum) {
		this.manNum = manNum;
	}

	public Float getManPrice() {
		return manPrice;
	}

	public void setManPrice(Float manPrice) {
		this.manPrice = manPrice;
	}

	public String getManDescribe() {
		return manDescribe;
	}

	public void setManDescribe(String manDescribe) {
		this.manDescribe = manDescribe;
	}

	public String getManType1() {
		return manType1;
	}

	public void setManType1(String manType1) {
		this.manType1 = manType1;
	}

	public String getManType2() {
		return manType2;
	}

	public void setManType2(String manType2) {
		this.manType2 = manType2;
	}

	public String getManType3() {
		return manType3;
	}

	public void setManType3(String manType3) {
		this.manType3 = manType3;
	}

	public String getManWin() {
		return manWin;
	}

	public void setManWin(String manWin) {
		this.manWin = manWin;
	}

	public Long getCarftsmanId() {
		return carftsmanId;
	}

	public void setCarftsmanId(Long carftsmanId) {
		this.carftsmanId = carftsmanId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
